<template>

  <router-view/>
  <!--  底部导航-->
  <van-tabbar v-show="$route.meta.footShow" v-model="active" active-color="#ee0a24" route>
    <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
    <van-tabbar-item icon="search" >门店</van-tabbar-item>
    <van-tabbar-item icon="cart-o">购物车</van-tabbar-item>
    <van-tabbar-item icon="setting-o" >我的</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  data(){
    return{
      active:0
    }
  }
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>